﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <title></title>
    <link rel="stylesheet/less" type="text/css" href="Styles/PresenceAvailability_OrbitOne.less" />

    <script src="Scripts/jquery-1.8.2.js" type="text/javascript"></script>
    <script src="Scripts/jquery.tmpl.min.js" type="text/javascript"></script>
    <script src="Scripts/jquery.timers-1.2.js" type="text/javascript"></script>
    <script src="Scripts/jquery.hoverIntent.minified.js" type="text/javascript"></script>
    <script src="Scripts/jquery.ucma.presence-1.0.js" type="text/javascript"></script>    
    <script src="Scripts/less-1.1.3.min.js" type="text/javascript"></script>
    <script src="Scripts/json.js" type="text/javascript"></script>
    <script src="Scripts/jquery.functions.js" type="text/javascript"></script>
    <script src="Scripts/jquery.localisation.js" type="text/javascript"></script>
    <script src="Scripts/presencestyling_OrbitOne.js" type="text/javascript"></script>
    
    <script type="text/javascript">

    	$(document).ready(function () {
    		$.presence({
    			'templateUrl': '/Templates/PresenceTemplate_OrbitOne.html',
    			'serviceUrl': 'https://lyncservice.domain.com/service.svc/',
    			'refreshRate': 15000,
    			'usePresenceTempInit': true,
                'languageBaseUrl': 'http://lyncpresence.domain.com/Lang/widget',
                //                'query': 'email=*@orbitone.com',
                'query': 'div=operations+development+administration+service+PM+management+ICT',
                //'query': 'div=PM',
                'groups': 'orbitonelync',
                'sortby': 'name',
                'sortdirection': 'asc',
    			'statusImageBaseUrl': 'http://lyncpresence.domain.com/StatusPictures/',
    			'statusImageExtension': '.jpg',
    			'onPresenceItemUpdated': function (settings, presenceSubscription, presenceitem) {
    				presenceStyling(settings, presenceSubscription, presenceitem, false);
    			},
    			'onGroupPresenceItemUpdated': function (settings, groupSubscription, presenceitem) {
    				groupPresenceStyling(settings, groupSubscription, presenceitem, false);
    			}
    		});
    	});
    </script>
</head>
<body>    
    <div id="presenceitemTemplate" type="text/html"></div>
    <div id="grouppresenceitemTemplate" type="text/html"></div>
    <div id="presenceitemContainer"></div>
</body>
</html>
